package cn.edu.scujcc.customofsichuan.Application;

import android.app.Application;
import android.util.Log;

import java.util.HashMap;
import java.util.Map;


//使用Application必须要在AndroidManifest配置文件中的Application标签的name属性声明该类
public class UserApplication extends Application {
    private static UserApplication userInfo;
    public Map<String, Object> userMap=new HashMap<>();

    @Override
    public void onCreate() {
        super.onCreate();
        userInfo= this;
        Log.d("Application","Application已经运行");

    }

    public static UserApplication getInstance(){
        return userInfo;
    }

}
